Table of Contents

authdrupal8 Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown

plugin Authenticate using Drupal 8 to Drupal 10 with changed password hash

Last updated on
2024-01-25
Provides
Auth
Repository
Source

Installation

:!: Note: Wrong use of some settings can make your wiki unreachable. Be sure to read the full documentation before installing/activating the plugin.

:!: External requirements: This plugin requires the following additional components that must be installed separately:

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Usage

When using the plugin Dokuwiki will get the user and login information from a Drupal database.

Users can login using their Drupal login credentials. Registering and modifying users is not possible (and most likely will not be) as this functionality is provided by Drupal.
Dokuwiki will read user groups and memberships from the Drupal 8 or 9 database as well. Make sure you read the configuration instructions further below on this page.

Configuration and Settings

After installation and activation the plugin can be configured using the dokuwiki configuration page. Make sure you stick to the suggested order unless you know exactly what you do.

1. Plugin configuration

You will find an authdrupal8-section on your config page. Edit the following values:

2. ACL settings

Dokuwiki will use the Drupal roles as usergroups. To get the correct permissions for your users you have to edit the ACL settings.

When granting permissions the user group names are replaced with Drupal role names. If you want to grant access to all Drupal users that are members of the role wiki use the user group name @wiki.

3. Authentication

Go to the authentication section of the configuration page.

About Drupal roles

I highly recommend that you create new Drupal roles for use in your Dokuwiki permissions. Doing this you will be able to grant or deny wiki permissions without affecting your drupal permission. Not neccessarily should every Drupal admin have superuser rights in Dokuwiki. Create and assign this roles using Drupal administration tools.

Development

The authdrupal8 plugin widely bases on the authdrupal7 plugin by Matthias Jung.

Some changes were neccessary as Drupal 8 to 10 uses some algorithms for hashing passwords that were not realizable using the authdrupal7 plugin.

Bug Tracking

https://github.com/jjancel/dokuwiki-plugin-authdrupal8/issues